import { createRouter, createWebHashHistory } from 'vue-router'
const Router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: "/:pathMatch(.*)*",
            redirect: '/index'
        },
        {
            path: '/index',
            name: 'Index',
            component: () => import(/* webpackChunkName: "about" */ "../views/index.vue"),
        },
        {
            path: '/home',
            name: 'Home',
            component: () => import(/* webpackChunkName: "about" */ "../views/home.vue"),
        }
    ]
})
export default Router